import request from '@/utils/request'

// 计算毛利率
export function fnGrossProfitRate(data) {
  return request({
    url: '/jb_tool/fnGrossProfitRate',
    method: 'post',
    data: data
  })
}

//商品快速查询
export function quickQuery(query) {
  return request({
    url: '/jb_tool/quickQuery',
    method: 'get',
    params: query
  })
}
//库存查询
export function findInventory(query) {
  return request({
    url: '/jb_tool/findInventory',
    method: 'get',
    params: query
  })
}
// 更新库存
export function refreshInventory() {
  return request({
    url: '/jb_tool/refreshInventory',
    method: 'get'
  })
}




